*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/backpic.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #180b01;
	position: relative;
}
#startBanner{
	width:100%;
	height: 2.67rem;
	position: absolute;
	left:0;
	top:.5rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:4.44rem;
	height: .8rem;
	position: absolute;
	left:0;
	right:0;
	bottom:1.22rem;
	margin: auto;
	background: url(../img/startbtn.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox:after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:.02rem;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#ffffff;
	text-align: center;
}

/*游戏说明*/
#gameTips{
	height: 100%;
	background: #09141d;
	position: relative;
	display: none;
}
#gameWords{
	width:5.42rem;
	height: 2.27rem;
	position: absolute;
	left:0;
	right:0;
	top:3.2rem;
	margin: auto;
	background: url(../img/gamewords.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#iKnowBtn{
	width:2.44rem;
	height: .7rem;
	position: absolute;
	left:0;
	right:0;
	top:5.87rem;
	margin:auto;
	background: url(../img/iknowbtn.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#example{
	width:2rem;
	height: 1.95rem;
	position: absolute;
	bottom: 2.35rem;
	left:4.3rem;
	background: url(../img/example.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	animation: move 1.6s infinite;
	z-index: 2;
}
@keyframes move{
	from{
		bottom: 3.3rem;
		left:4.3rem;
	}
	to{
		bottom: .8rem;
		left:2.2rem;
	}
}
.finalArea{
	width:100%;
	height: 3.06rem;
	background: #2f0e50;
	position: absolute;
	left:0;
	bottom:0;
	opacity: 0.6;
}

/*游戏页面*/
#gamePage,#sucessPage,#failPage{
	width:100%;
	height: 100%;
	position: relative;
	background: url(../img/gameback.jpg) no-repeat 0 0;
	background-color: #000000;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	display: none;
}
#timer{
	width:1.71rem;
	height: .79rem;
	position: absolute;
	top:.27rem;
	left:.3rem;
	background: url(../img/timer.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	color:#ffffff;
	font-size: .3rem;
	text-align: right;
	line-height: .8rem;
	box-sizing: border-box;
	padding-right: .2rem;
}
i{
	font-style: normal;
	padding-left:.12rem;
}
#counter{
	width:1.72rem;
	height: .94rem;
	position: absolute;
	top:.2rem;
	right:.29rem;
	background: url(../img/counter.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	color:#ffffff;
	font-size: .3rem;
	text-align: right;
	line-height: .95rem;
	box-sizing: border-box;
	padding-right: .4rem;
}
#guostArea{
	width:100%;
	height: 7.5rem;
	left:0;
	bottom:3.06rem;
	position: absolute;
}
.guost-free{
	width:1.63rem;
	height: 1.66rem;
	position: absolute;
	top:3rem;
	left:4rem;
	background: url(../img/free.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.guost-prison{
	width:1.07rem;
	height: 1.32rem;
	position: absolute;
	top:1rem;
	left:3rem;
	background: url(../img/prison.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}

/*成功*/
.gameover{
	width:5.58rem;
	height: 1.24rem;
	position: absolute;
	left:0;
	right:0;
	top:1.83rem;
	margin: auto;
	background: url(../img/gameover.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.resultWords{
	font-size: .36rem;
	color:#ffffff;
	text-align: center;
	line-height: .58rem;
	width:100%;
	top:3.9rem;
	position: absolute;
	left:0;
	letter-spacing: 1px;
}
.resultWords span{
	color:#eb7515;
}
.btn{
	width:3.4rem;
	height: .7rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	-webkit-background-size: contain;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 0 0;
}
.lottery{
	top: 5.98rem;
	background-image: url(../img/lotterybtn.png);
}
.again{
	top: 7.08rem;
	background-image: url(../img/againbtn.png);
}
.friend{
	top: 8.18rem;
	background-image: url(../img/friendbtn.png);
}

/*失败*/
.failAgain{
	top: 5.98rem;
	background-image: url(../img/failagain.png);
}
.failfriend{
	top: 7.08rem;
	background-image: url(../img/friendbtn.png);
}


